#include "global.h"
#include "client_http.h"

int main(int argc, char *argv[])
{
    int sock = ClientSocket("192.168.1.139", 8090);
    char *httpClient = HTTPClient();
    char *httpRequest = HTTPRequest(httpClient, "", sock, "GET", 
                          "/api/user/login", 
                          "192.168.1.139:8090", "application/x-www-form-urlencoded");
    printf("%s\n", httpRequest);
    FreeHTTPClient(httpClient);
    return 0;
}
